<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2020/5/13
  Time: 18:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head>
<body>
<button style="width: 100px;height: 100px;" id="btnTest"></button>
<script>
    $(function () {
        $("#btnTest").click(function () {
            var page = "http://localhost:8080/msims/deleteSampleProc";
            $.ajax({
                contentType:'application/json',
                url: page,
                data: JSON.stringify
                ({"delCountryId1":"1234","delCountryId2":"2234"}),
                dataType:'json',
                type:'post',
                success: function (result) {
                    console.log(result);
                }
            })
        })
    })
</script>
</body>
</html>
